import { mapGetters, mapActions } from 'vuex'

export default {
  computed: {
    ...mapGetters('department', [
      'departmentTree'
    ])
  },
  methods: {
    ...mapActions('department', [
      'updateDepartmentList'
    ])
  },
  created() {
    this.updateDepartmentList()
  }
}
